/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package scapi.utilerias;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

/**
 *
 * @author emmanuel
 */
public class LeerConfiguracion {

    public static String[] getConfig() throws FileNotFoundException, IOException{
        FileReader fr = new FileReader("url.txt");
        BufferedReader br = new BufferedReader(fr);

        String urlServidor = br.readLine();
        String puerto = br.readLine();

        br.close();
        fr.close();

        String[] url = new String[2];
        url[0] = urlServidor;
        url[1] = puerto;

        return url;



    }

}
